namespace HPIT.Shop.Services.Entities
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class information
    {
        [Key]
        public int TradeId { get; set; }

        [Required]
        [StringLength(32)]
        public string TradeName { get; set; }

        public int goodsStock { get; set; }

        public decimal marketPrice { get; set; }

        public int saleNum { get; set; }

        public int isBest { get; set; }

        public int gallery { get; set; }

        public int goodsSn { get; set; }

        [Required]
        [StringLength(4)]
        public string goodsUnit { get; set; }

        public decimal shopPrice { get; set; }

        [Required]
        [StringLength(126)]
        public string goodsDesc { get; set; }

        public int isSale { get; set; }

        public int isHot { get; set; }

        public int? Idcategory { get; set; }

        public virtual category category { get; set; }

        public virtual property property { get; set; }
    }
}
